<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%csharp%>
int user_id=DTRequest.GetQueryInt("user_id");
<%/csharp%>
<title>{model.title} - {site.name}</title>
<meta name="keywords" content="{model.seo_keywords}" />
<meta name="description" content="{model.seo_description}" />
<link href="<%templateskin%>/css/common.css" rel="stylesheet" type="text/css" />
<link href="{config.webpath}css/pagination.css" rel="stylesheet" />
<link href="<%templateskin%>/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin%>/js/common.js"></script>
</head>
<body>
<!--Header-->
<%template src="_header.html"%>
<!--/Header-->

<!--内页面大标题-->
<div class="nbanner" style="background-color:#9176A8;">
  <div class="bantext">
  <%csharp%>
      string fore_name="";
      if(user_id>0)
      {
        var foremanModel=get_foreman_model(user_id);
        if(foremanModel!=null && foremanModel.user!=null)
            fore_name=foremanModel.user.nick_name +"工长的";
      }
      <%/csharp%>
    <h3>{fore_name}{model.title}</h3>
    <div class="dqwz">
    <%set string category_nav=get_category_menu("news_list", category_id)%>
    <span>当前位置：<a href="<%linkurl("index")%>">首页</a> &gt; 最新签约</span><br/>
	<span class="des">{model.content}</span></div>	
  </div>
</div>
<!--内页面大标题-->

<div class="section clearfix">  
  <!--右边-->
  <%template src="_mleft.html"%>
  <!--/右边-->
  
  <!--左边-->
  <div class="list-auto">
    <ul class="n-list">
    <%csharp%>
        string where="view_channel_cases.status=0";
        if(user_id>0)
            where+=" and view_channel_cases.user_id="+user_id;
        <%/csharp%>
    
      <%set DataTable newsList=get_article_list_left_foreman(channel, category_id, pagesize, page, where,"click desc", out totalcount, out pagelist, "msign_list", category_id,user_id, "__id__")%>
      
      <%foreach(DataRow dr in newsList.Rows)%>
      <li>
        <h2><a href="<%linkurl("mnews_show",{dr[id]})%>">{dr[title]}</a></h2>
        <div class="note">
          <%if({dr[img_url]}!="")%>
          <b><img src="{dr[img_url]}" /></b>
          <%/if%>
          <p>{dr[zhaiyao]}</p>
          <div class="info">
            <span class="time">{dr[add_time]}</span>
            <span class="comm"><script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_comment_count&id={dr[id]}"></script>人评论</span>
            <span class="view"><script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_article_click&id={dr[id]}"></script>次浏览</span>
          </div>
        </div>
      </li>
      <%/foreach%>
    </ul>
    
    <!--页码列表-->
    <div class="page-box">
      <div class="digg">{pagelist}</div>
    </div>
    <!--/页码列表-->
  </div>
  <!--/左边-->

</div>

<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->
</body>
</html>